package com.pkx.guide.converter;

import com.pkx.guide.system.entity.TSysDept;
import com.pkx.guide.system.model.vo.DeptVO;
import com.pkx.guide.system.model.form.DeptForm;
import org.mapstruct.Mapper;

/**
 * 部门对象转换器
 *
 * @author haoxr
 * @since 2022/7/29
 */
@Mapper(componentModel = "spring")
public interface DeptConverter {

    DeptForm entity2Form(TSysDept entity);
    DeptVO entity2Vo(TSysDept entity);

    TSysDept form2Entity(DeptForm deptForm);

}